package com.chenhao.springcloud.chenhaodesignservice.pattern.creational.builder;

/**
 * Description:
 *
 * @author chenhao
 * @date 2020/12/16 9:50
 */
public class Test {
    public static void main(String[] args) {
        CourseBuilder courseBuilder = new CourseActualBuilder();
        Coach coach = new Coach();
        coach.setCourseBuilder(courseBuilder);
        Course course = coach.makeCourse("ggg","ggg","ttt","ggggg","ggg");
        System.out.println(course);
    }
}
